From: Paul Eggert Date: Mon, 25 Jul 2011 16:39:39 +0000 (-0700) Subject: * bidi.c (bidi_dump_cached_states): Fix printf format mismatch. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2142^2~68 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f7622945202ececf0dd1454ff4941e985445bed3;p=emacs.git * bidi.c (bidi_dump_cached_states): Fix printf format mismatch. Found by GCC static checking and --with-wide-int on a 32-bit host. --- diff --git a/src/ChangeLog b/src/ChangeLog index 69577d67c08..97ddbcc1db9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-25 Paul Eggert + + * bidi.c (bidi_dump_cached_states): Fix printf format mismatch. + Found by GCC static checking and --with-wide-int on a 32-bit host. + 2011-07-25 Eli Zaretskii * xdisp.c (compute_display_string_pos): Fix logic of caching diff --git a/src/bidi.c b/src/bidi.c index c83ee549923..412dc94cb86 100644 --- a/src/bidi.c +++ b/src/bidi.c @@ -2308,7 +2308,7 @@ bidi_dump_cached_states (void) fprintf (stderr, "The cache is empty.\n"); return; } - fprintf (stderr, "Total of %"pD"d state%s in cache:\n", + fprintf (stderr, "Total of %"pI"d state%s in cache:\n", bidi_cache_idx, bidi_cache_idx == 1 ? "" : "s"); for (i = bidi_cache[bidi_cache_idx - 1].charpos; i > 0; i /= 10)